const state = {
    data: [],
    pageTotal: 0,
    query: {
        pageIndex: 1,
        pageSize: 10,
        channel: '',
        brand: '',
        model: ''
    },
}

const mutations = {
    SET_USER_FEEDBACK_DATA: (state, data) => {
        state.data = data
    },
    SET_USER_FEEDBACK_PAGETOTAL: (state, pageTotal) => {
        state.pageTotal = pageTotal
    },
    SET_USER_FEEDBACK_QUERY: (state, query) => {
        state.query = query
    }
}

const actions = {

}

export default {
    state,
    mutations,
    actions
}